<!doctype html>
<html>
	<head>
		<title>Product List</title>
		<?php include '_head_init.php' ?>
	</head>
	<body>
		<?php include '_navbar.php' ?>
		<div class="container">
			<div class="row">
				<div class="span12">
					<div class="tabbable tabs-left">
						<ul class="nav nav-tabs">
							<li class="active"><a href="#tab1" data-toggle="tab">Day 1</a></li>
							<li><a href="#tab2" data-toggle="tab">Day 2</a></li>
							<li><a href="#tab3" data-toggle="tab">Day 3</a></li>
							<li><a href="#tab4" data-toggle="tab">Day 4</a></li>
							<li><a href="#tab5" data-toggle="tab">Day 5</a></li>
							<li><a href="#tab6" data-toggle="tab">Day 6</a></li>
							<li><a href="#tab7" data-toggle="tab">Day 7</a></li>
							<li><a href="#tab8" data-toggle="tab">Day 8</a></li>
							<li><a href="#tab9" data-toggle="tab">Day 9</a></li>
							<li><a href="#tab10" data-toggle="tab">Day10</a></li>
							<li><a href="#tab11" data-toggle="tab">Day11</a></li>
							<li><a href="#tab12" data-toggle="tab">Day12</a></li>
							<li><a href="#tab13" data-toggle="tab">Day13</a></li>
							<li><a href="#tab14" data-toggle="tab">Day14</a></li>
						</ul>
						<div class="tab-content">
							<div class="tab-pane active" id="tab1">
								<div class="row">
									<div class="span4">
										<img src="img/product1_high_discount.jpg" class="img-polaroid">
									</div>
									<div class="span4">
										<form class="form-horizontal">
											<div class="control-group">
												<label class="control-label" for="inputProductHighDiscountPicture">更改图片</label>
												<div class="controls">
													<input type="file" id="inputProductHighDiscountPicture" name="product-high-discount-picture">
												</div>
											</div>
										</form>
									</div>
								</div>
								<p>Hello, Section 1</p>
							</div>
							<div class="tab-pane" id="tab2">
								<ul class="thumbnails">
									<li class="span4">
										<div class="thumbnail">
											<img src="img/product1_high_discount.jpg">
											<div class="caption">
												<h3>High Discount Picture</h3>
												<p>投票数: <span class="badge">528</span></p>
												<p>评论数: <span class="badge">875</span></p>
												<button class="btn btn-block disabled">重新上传</button>
											</div>
										</div>
									</li>
									<li class="span4">
										<div class="thumbnail">
											<img src="img/product1_high_discount.jpg">
											<div class="caption">
												<h3>Low discount picture</h3>
												<p>投票数: <span class="badge">528</span></p>
												<p>评论数: <span class="badge">875</span></p>
												<a class="btn btn-block" href="#myModal" role="button" data-toggle="modal">重新上传</a>
											</div>
										</div>
									</li>
									<li class="span4">
										<div class="thumbnail">
											<img src="img/product2_share.jpg">
											<div class="caption">
												<h3>Weibo Sharing Picture</h3>
												<p>投票数: <span class="badge">528</span></p>
												<p>评论数: <span class="badge">875</span></p>
												<button class="btn btn-block">重新上传</button>
											</div>
										</div>
									</li>
								</ul>
								<p>Hello, Section 2</p>
							</div>
							<div class="tab-pane" id="tab3">
								<ul class="thumbnails">
									<li class="span3">
										<div class="thumbnail">
											<img src="http://shop.mediamarkt.cn/medias/sys_master/images/8804718084126.jpg">
											<div class="caption">
												<h3>10-12 Day 3</h3>
												<p>投票数: <span class="badge">528</span></p>
												<p>评论数: <span class="badge">875</span></p>
												<button class="btn btn-block disabled">重新上传</button>
											</div>
										</div>
									</li>
									<li class="span3">
										<div class="thumbnail">
											<img src="http://shop.mediamarkt.cn/medias/sys_master/images/8812682543134.jpg">
											<div class="caption">
												<h3>10-13 Day 2</h3>
												<p>投票数: <span class="badge">528</span></p>
												<p>评论数: <span class="badge">875</span></p>
												<a class="btn btn-block" href="#myModal" role="button" data-toggle="modal">重新上传</a>
											</div>
										</div>
									</li>
									<li class="span3">
										<div class="thumbnail">
											<img src="http://shop.mediamarkt.cn/medias/sys_master/images/8814318682142.jpg">
											<div class="caption">
												<h3>10-14 Day 3</h3>
												<p>投票数: <span class="badge">528</span></p>
												<p>评论数: <span class="badge">875</span></p>
												<button class="btn btn-block">重新上传</button>
											</div>
										</div>
									</li>
									<li class="span3">
										<div class="thumbnail">
											<img src="http://shop.mediamarkt.cn/medias/sys_master/images/8799372181534.jpg">
											<div class="caption">
												<h3>10-15 Day 4</h3>
												<p>投票数: <span class="badge">528</span></p>
												<p>评论数: <span class="badge">875</span></p>
												<button class="btn btn-block">重新上传</button>
											</div>
										</div>
									</li>
								</ul>
								<p>Hello, Section 3</p>
							</div>
							<div class="tab-pane" id="tab4">
								<p>Hello, Section 2</p>
							</div>
							<div class="tab-pane" id="tab5">
								<p>Hello, Section 2</p>
							</div>
							<div class="tab-pane" id="tab6">
								<p>Hello, Section 2</p>
							</div>
							<div class="tab-pane" id="tab7">
								<p>Hello, Section 2</p>
							</div>
							<div class="tab-pane" id="tab8">
								<p>Hello, Section 2</p>
							</div>
							<div class="tab-pane" id="tab9">
								<p>Hello, Section 2</p>
							</div>
							<div class="tab-pane" id="tab10">
								<p>Hello, Section 2</p>
							</div>
							<div class="tab-pane" id="tab11">
								<p>Hello, Section 2</p>
							</div>
							<div class="tab-pane" id="tab12">
								<p>Hello, Section 2</p>
							</div>
							<div class="tab-pane" id="tab13">
								<p>Hello, Section 2</p>
							</div>
							<div class="tab-pane" id="tab14">
								<p>Hello, Section 2</p>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="row">
				<div class="span12">
					hello
				</div>
			</div>

			<div class="modal hide" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
					<h3>10-13 Day 2</h3>
				</div>
				<div class="modal-body">
					<form class="form-horizontal" action="/app/api/product/set_product_picture" method="post" enctype="multipart/form-data">
						<div class="control-group">
							<label class="control-label" for="inputProductRequiredVotes">终极折扣</label>
							<div class="controls">
								<input type="text" id="inputProductRequiredVotes" placeholder="1000" value="2000">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="inputProductRequiredVotes">心动折扣</label>
							<div class="controls">
								<input type="text" id="inputProductRequiredVotes" placeholder="1000" value="2000">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="inputProductRequiredVotes">预定投票</label>
							<div class="controls">
								<input type="text" id="inputProductRequiredVotes" placeholder="1000" value="2000">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="inputProductFullPriceLink">原价链接</label>
							<div class="controls">
								<input type="text" id="inputProductFullPriceLink" placeholder="http://shop.com/product1.html" value="http://shop.mediamarkt.cn/All/Digital-Products/Video-Photo/Camcorders/Sony-DV-Camcorder-HDRCX270E/p/100111831">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="inputProductFullDiscountLink">终极链接</label>
							<div class="controls">
								<input type="text" id="inputProductFullDiscountLink" placeholder="http://shop.com/product1.html">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="inputProductHalfDiscountLink">心动链接</label>
							<div class="controls">
								<input type="text" id="inputProductHalfDiscountLink" placeholder="http://shop.com/product1.html">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="inputProductPicture">等待开启图片</label>
							<div class="controls">
								<input type="file" id="inputProductPicture" name="picture" value="hello">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="inputProductPicture">我要打折图片</label>
							<div class="controls">
								<input type="file" id="inputProductPicture" name="picture" value="hello">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="inputProductPicture">我要抢购图片</label>
							<div class="controls">
								<input type="file" id="inputProductPicture" name="picture" value="hello">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="inputProductPicture">抢购结束图片</label>
							<div class="controls">
								<input type="file" id="inputProductPicture" name="picture" value="hello">
							</div>
						</div>
					</form>
				</div>
				<div class="modal-footer">
					<a href="#" class="btn" data-dismiss="modal" aria-hidden="true">Close</a>
					<a href="#" class="btn btn-primary">Save change</a>
				</div>
			</div> <!-- end modal -->

		</div> <!-- end container -->

	</body>

</html>